const express = require('express');
const router = express.Router();
const goodsController = require('../controllers/goods');

// 获取商品列表
router.get('/', goodsController.getGoodsList);

// 获取商品详情
router.get('/:id', goodsController.getGoodsDetail);

module.exports = router;